<%--
  Created by IntelliJ IDEA.
  User: 林云志
  Date: 2018/4/27
  Time: 22:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<body>
<%
    Integer count = (Integer)session.getAttribute("count");
    if(count==null){
        count=1;
        session.setAttribute("count",count);
    }else{
        count++;
        session.setAttribute("count",count);
    }
%>
访问次数为：<%=count %>

</p>
</body>

</body>
</html>
